Babl-fish-reference: create_name_internal(): ooops, should return int
authorRoman Lebedev <lebedev.ri@gmail.com>
Sun, 21 Aug 2016 08:49:26 +0000 (11:49 +0300)
committerØyvind Kolås <pippin@gimp.org>
Sun, 21 Aug 2016 14:22:27 +0000 (16:22 +0200)
I broke it in 0fe22e1e37197ef6112645bf5a136580c0927a1e
and totally did not even notice the warning...

babl/babl-fish-reference.c

index 7570e6a1e8ce66ce3ba066ebe28f8b74cefbdda7..00ff6bec810944d9740057f28de1da3297e1e3f6 100644 (file)
@@ -30,7 +30,7 @@ assert_conversion_find (const void *source,
   return ret;
 }
 
-static char *
+static int
 create_name_internal (char *buf,
                       size_t maxlen,
                       const Babl *source,